package com.example.demo.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Accessors(chain = true)
public class CallbackParam implements Serializable {
    @NotNull(message = "获取失败，必须提交单据ID")
    @ApiModelProperty(value = "单据ID", required = true)
    private Integer billNo;

    @NotNull(message = "获取失败，必须提交业务类型")
    @ApiModelProperty(value = "业务类型", required = true)
    private String yewType;

    @NotNull(message = "获取失败，必须提交回调状态(1成功 2失败)")
    @ApiModelProperty(value = "回调状态", required = true)
    private Integer status;
}
